package com.pangda.pojo.data;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author xjy
 * @since 2024-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_user")
@ApiModel(value = "SysUser对象", description = "用户表")
public class SysUserData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "用户名称")
    private String userName;

    @ExcelProperty(value = "昵称")
    private String nickName;

    @ExcelProperty(value = "密码")
    private String password;

    @ExcelProperty(value = "性别 0 -男 、1-女")
    @TableField("sex")
    private String sex;

    @ExcelProperty(value = "手机号")
    @TableField("phonenumber")
    private String phonenumber;

    @ExcelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ExcelProperty(value = "状态")
    @TableField("status")
    private String status;

    @ExcelProperty(value = "邮箱")
    @TableField("email")
    private String email;
}
